package com.cucn.ingmall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cucn.common.utils.PageUtils;
import com.cucn.ingmall.member.entity.MemberReceiveAddressEntity;

import java.util.List;
import java.util.Map;

/**
 * 会员收货地址
 *
 * @author kouchaojie
 * @email kou1688@foxmail.com
 * @date 2021-11-17 18:26:50
 */
public interface MemberReceiveAddressService extends IService<MemberReceiveAddressEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据用户id查询用户收货地址
     *
     * @param memberId 用户id
     * @return 用户收货地址列表
     */
    List<MemberReceiveAddressEntity> getMemberReceiveAddressByMemberId(Long memberId);
}

